package com.chuguan.poker.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.chuguan.poker.Dao.UserDao;
import com.chuguan.poker.service.UserService;

@Service
public class UserServiceImpl implements UserService{

	@Resource
	private UserDao dao;
	
	@Override
	public Integer checkTheSameName(String username) {
		return dao.selectUserByName(username);
	}

}
